body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td {
    margin: 0;
    padding: 0;
}

body,
button,
input,
select,
textarea {
    font: 12px/1.5tahoma, arial, \5b8b\4f53;
}

div {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
}

address,
cite,
dfn,
em,
var {
    font-style: normal;
}

code,
kbd,
pre,
samp {
    font-family: couriernew, courier, monospace;
}

small {
    font-size: 12px;
}

ul,
ol {
    list-style: none;
    margin-bottom: 0 !important;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

legend {
    color: #000;
}

fieldset,
img {
    border: 0;
}

button,
input,
select,
textarea {
    font-size: 100%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.clearfix::after {
    content: '';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.floatl {
    float: left;
}

.floatr {
    float: right;
}

.ml-10 {
    margin-left: 10px;
}

.ml-16 {
    margin-left: 16px;
}

.ml-20 {
    margin-left: 20px !important;
}

.mr-10 {
    margin-right: 10px;
}

.mr-16 {
    margin-right: 16px !important;
}

.mr-20 {
    margin-right: 20px !important;
}

.mt-16 {
    margin-top: 16px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-16 {
    margin-bottom: 16px;
}

.mb-20 {
    margin-bottom: 20px;
}

.pd-20 {
    padding: 20px;
}

.pd-0 {
    padding: 0 !important;
}

.pdl-0 {
    padding-left: 0 !important;
}

.pdr-0 {
    padding-right: 0 !important;
}

.pdt-0 {
    padding-top: 0 !important;
}

.pdb-0 {
    padding-bottom: 0 !important;
}

.h100 {
    height: 100% !important;
}

.h50 {
    height: 50% !important;
}

.w100 {
    width: 100% !important;
}

.w50 {
    width: 50% !important;
}

.flex {
    display: flex;
}

.flex-sub1 {
    flex: 1;
}

.flex-sub2 {
    flex: 2;
}

.flex-shrink0 {
    flex-shrink: 0;
}

.flex-alignc {
    display: flex;
    align-items: center;
}

.flex-aligns-justifyb {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.flex-aligne-justifyb {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.flex-alignc-justifyb {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-alignc-justifya {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.flex-alignc-justifyc {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.flex-directionc {
    display: flex;
    flex-direction: column;
}

.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.pointer {
    cursor: pointer;
}

.flex-content {
    height: 100%;
    display: flex;
    flex-direction: column;

    .flex-main {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
    }
}

.c00e {
    color: #00eaff;
}

.c048F {
    color: #048FFF;
}

.cfff {
    color: #ffffff;
}

.cf8b {
    color: #f8b51e;
}

.bgfff {
    border-radius: 5px;
    background-color: #ffffff;
}

.bgf8f8 {
    background-color: #f8f8f8;
}

.scroll-y {
    height: 100%;
    overflow-y: auto;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*  自定义公共类名  */
.section-header {
    padding: 20px;
}

.borderb-grey {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

// 筛选表格样式
.screen-table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    color: #515561;
    table-layout: fixed;
    border: 1px solid #d9d9d9;
    font-size: 13px;

    tr {
        border-bottom: 1px solid #d9d9d9;

        &:last-child {
            border-bottom: none;
        }

        th {
            padding: 10px 5px 10px 10px;
            width: 200px;
            color: #515561;
            text-align: left;
            background-color: #f0f0f1;
        }

        td {
            padding: 10px 5px 10px 10px;
        }
    }
}

// 右边抽屉样式
.create-power {

    // 抽屉顶部弹出头部样式
    .head-box {
        width: 100%;
        height: 64px;
        font-size: 20px;
        color: #252b3a;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .head-btn {
            /deep/.ant-btn {
                font-size: 12px;
            }

            .save-btn {
                margin-left: 8px;
            }
        }
    }

    &.right-power {

        // 抽屉右边弹出头部样式
        .right-head {
            font-size: 12px;
            padding-bottom: 20px;

            .number {
                font-size: 15px;
                color: #95929c;
            }

            .anticon {
                font-size: 16Px;
            }

            .operate {
                .anticon {
                    cursor: pointer;
                    font-size: 24px;
                    margin-left: 20px;
                }

                .anticon-close-circle {
                    transition: all 0.3s;

                    &:hover {
                        transform: rotate(90deg);
                    }
                }
            }

            .name {
                font-weight: bold;
                font-size: 24px;
            }

            .yellow {
                color: #f8b51e;
            }

            .blue {
                color: #048FFF;
            }

            .green {
                color: #41D068;
            }

            .status {
                margin-bottom: 10px;
                padding-bottom: 10px;
                border-bottom: 1px solid rgba(0, 0, 0, .1);
            }
        }

        .content-box {
            padding-top: 0;

            // overflow-y: auto;
            .flex-main {
                padding-top: 0;
                padding-bottom: 0;

                margin-bottom: 20px;
            }

            .right-foot {
                margin: 0 20px;
                padding: 20px;

                .item {
                    cursor: pointer;
                }
            }

            .detail-form {
                .label {
                    font-size: 20px;
                    color: #252b3a;
                }

                .detail-text {
                    margin-bottom: 20px;
                    font-size: 20px;

                    textarea.ant-input[disabled] {
                        resize: none;
                        background-color: transparent !important;
                    }
                }

                .header {
                    img {
                        width: 100px;
                        height: 100px;
                        border-radius: 50%;
                        margin-right: 20px;
                    }
                }
            }

            .flow {
                padding-left: 10px;
                border-left: 1px solid rgba(0, 0, 0, 0.08);

                li {
                    position: relative;
                    padding: 0 40px 60px 40px;
                    .flow-status-icon {
                        position: absolute;
                        top: -5px;
                        left: -2px;
                        .green {
                            color: #41D068;
                        }
                        .warn {
                            color: #f8b51e;
                        }
                        .error {
                            color: #FF7875;
                        }
                    }
                    &:before {
                        position: absolute;
                        display: block;
                        content: "";
                        top: 3px;
                        left: 3px;
                        width: 10px;
                        height: 10px;
                        // background-color: hsla(0, 0%, 50.2%, 0.6);
                        border-radius: 50%;
                    }

                    &:after {
                        position: absolute;
                        display: block;
                        content: "";
                        top: 8px;
                        bottom: -3px;
                        left: 7px;
                        width: 1px;
                        background-color: rgba(0, 0, 0, 0.08);
                        border-radius: 1px;
                    }

                    &:last-child {
                        &:after {
                            display: none;
                        }
                    }

                    .tip {
                        font-size: 12px;
                        color: rgba(0, 0, 0, 0.45);
                    }
                    .flow-title {
                        line-height: 1;
                    }
                    .header {
                        position: relative;
                        margin-bottom: 10px;

                        img {
                            width: 80px;
                            height: 80px;
                            border-radius: 50%;
                        }

                        .close {
                            position: absolute;
                            top: -20%;
                            right: -20%;
                        }
                    }
                }
            }
        }

    }


    .content-box {
        width: 100%;
        height: 100%;
        padding-top: 24px;

        .ant-form label {
            font-size: 12px;
            color: #00000073;
        }

        .ant-form-item-label {
            line-height: initial !important;
        }

        .ant-form-item {
            margin-bottom: 12px;
        }
    }
}